<!--{template common/header}-->
<!--[name]{Week_Design_view_news_wide}[/name]-->

<script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
<script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']), imagemaxwidth = '{$_G['setting']['imagemaxwidth']}', aimgcount = new Array();</script>
<!--{hook/view_article_top}-->
<!--{ad/text/wp a_t}-->
<style id="diy_style" type="text/css"></style>
<style>
body { background:#F1F1F1; }
.ct2 { border:1px solid #E6E6E6; border-radius:5px; margin:10px 0 25px; background:#FFF !important; padding:10px 20px 30px;} 
.vw .d img { max-width:1120px; }
.ie6 .vw .d img { width: expression(this.width > 1120 ? 1120:true); }
</style>

<script type="text/javascript">
  var bodyBgs = [];
  bodyBgs[0] = "$_G['style']['styleimgdir']/vbn4.jpg";
  bodyBgs[1] = "$_G['style']['styleimgdir']/vbn3.jpg";
  bodyBgs[2] = "$_G['style']['styleimgdir']/vbn2.jpg";
  bodyBgs[3] = "$_G['style']['styleimgdir']/vbn1.jpg";
  var randomBgIndex = Math.round( Math.random() * 3 );
  document.write('<style>.wk_news_box {background:url(' + bodyBgs[randomBgIndex] + ') no-repeat center top; background-size:cover;}</style>');
</script>

</div>
<div class="wk_news_box">
	<div class="wk_portalhead_bg">
        <ul>
        <!--{if $wk_menu}-->
            <!--{if $cat[others]}-->
                <!--{loop $cat[others] $value}-->
                    <li><a href="{echo getportalcategoryurl($value[catid])}" title="$value[catname]" {if $value['catid'] == $cat['catid']}class="a"{/if}>$value[catname]</a></li>
                <!--{/loop}-->
            <!--{/if}-->
        <!--{else}-->
            <!--{if $cat[subs]}-->
                <!--{if $cat[others]}-->
                    <!--{loop $cat[others] $value}-->
                    <!--{if $value['catid'] == $cat['catid']}-->
                        <li><a href="{echo getportalcategoryurl($value[catid])}" title="$value[catname]" class="a">$week_lang[58]</a></li>
                    <!--{/if}-->
                    <!--{/loop}-->
                <!--{/if}-->
                <!--{loop $cat[subs] $value}-->
                    <li><a href="{echo getportalcategoryurl($value[catid])}" title="$value[catname]" {if $value['catid'] == $cat['catid']}class="a"{/if}>$value[catname]</a></li>
                <!--{/loop}-->
            <!--{else}-->
                <!--{if $cat[others]}-->
                    <!--{loop $cat[ups] $value}--><!--{if $value['catid'] == $cat['upid']}--><li><a href="{echo getportalcategoryurl($value[catid])}" title="$value[catname]">$week_lang[58]</a></li><!--{/if}--><!--{/loop}-->
                    <!--{loop $cat[others] $value}-->
                        <li><a href="{echo getportalcategoryurl($value[catid])}" title="$value[catname]" {if $value['catid'] == $cat['catid']}class="a"{/if}>$value[catname]</a></li>
                    <!--{/loop}-->
                <!--{/if}-->
            <!--{/if}-->
        <!--{/if}-->
        </ul>
        <div class="clear"></div>
    </div>
	<div class="clear"></div>
	<h1 class="ph">$article[title] <!--{if $article['status'] == 1}-->({lang moderate_need})<!--{elseif $article['status'] == 2}-->({lang ignored})<!--{/if}--></h1>
    <p class="xg1">
        $article[dateline]<span class="pipe">|</span>
        {lang view_publisher}: <a href="home.php?mod=space&uid=$article[uid]">$article[username]</a><span class="pipe">|</span>
        {lang view_views}: <em id="_viewnum"><!--{if $article[viewnum] > 0}-->$article[viewnum]<!--{else}-->0<!--{/if}--></em><span class="pipe">|</span>
        {lang view_comments}: <!--{if $article[commentnum] > 0}--><a href="$common_url" title="{lang view_all_comments}"><em id="_commentnum">$article[commentnum]</em></a><!--{else}-->0<!--{/if}-->
        <!--{if $article[author]}--><span class="pipe">|</span>{lang view_author_original}: $article[author]<!--{/if}-->
        <!--{if $article[from]}--><span class="pipe">|</span>{lang from}: <!--{if $article[fromurl]}--><a href="$article[fromurl]" target="_blank">$article[from]</a><!--{else}-->$article[from]<!--{/if}--><!--{/if}-->

        <!--{if $_G['group']['allowmanagearticle'] || ($_G['group']['allowpostarticle'] && $article['uid'] == $_G['uid'] && (empty($_G['group']['allowpostarticlemod']) || $_G['group']['allowpostarticlemod'] && $article['status'] == 1)) || $categoryperm[$value['catid']]['allowmanage']}-->
            <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=edit&aid=$article[aid]">{lang edit}</a>
            <!--{if $article[status]>0 && ($_G['group']['allowmanagearticle'] || $categoryperm[$value['catid']]['allowmanage'])}-->
                <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=verify&aid=$article[aid]" id="article_verify_$article[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang moderate}</a>
            <!--{else}-->
                <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=delete&aid=$article[aid]" id="article_delete_$article[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang delete}</a>
            <!--{/if}-->
            <span class="pipe">|</span><a id="related_article" href="portal.php?mod=portalcp&ac=related&aid=$article[aid]&catid=$article[catid]&update=1" onclick="showWindow(this.id, this.href, 'get', 0);return false;">{lang article_related}</a>
        <!--{/if}-->
        <!--{if $article[status]==0 && ($_G['group']['allowdiy']  || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 5) || getstatus($_G['member']['allowadmincp'], 6))}-->
        	<span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=portalblock&op=recommend&idtype=aid&id=$article[aid]" onclick="showWindow('recommend', this.href, 'get', 0)">{lang blockdata_recommend}</a>
        <!--{/if}-->
        <!--{hook/view_article_subtitle}-->
    </p>
</div>
<div class="clear"></div>
<div class="wk_ymbg">
<div id="wp" class="wp">

<div class="wp">
	<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div id="ct" class="ct2 wp cl">

        <div class="clear"></div>
        
		<div class="bm vw">
        
			<div class="h hm wk_hm">
				
			</div>

			<!--[diy=diysummarytop]--><div id="diysummarytop" class="area"></div><!--[/diy]-->

			<!--[diy=diysummarybottom]--><div id="diysummarybottom" class="area"></div><!--[/diy]-->

			<div class="d">

				<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->

				<table cellpadding="0" cellspacing="0" class="vwtb"><tr><td id="article_content">
					<!--{ad/article/a_af/1}-->
					<!--{if $content[title]}-->
					<div class="vm_pagetitle xw1">$content[title]</div>
					<!--{/if}-->
					$content[content]
				</td></tr></table>
				<!--{hook/view_article_content}-->
				<!--{if $multi}--><div class="ptw pbw cl">$multi</div><!--{/if}-->

				<!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->

				<script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>

				<!--{if !empty($contents)}-->
				<div id="inner_nav" class="ptn xs1">
					<h3>{lang article_inner_navigation}</h3>
					<ul class="xl xl2 cl">
						<!--{loop $contents $key $value}-->
						<!--{eval $curpage = $key+1;}-->
						<!--{eval $inner_view_url = helper_page::mpurl($viewurl, '&page=', $curpage);}-->
						<li>&bull; <a href="$inner_view_url"{if $key === $start} class="xi1"{/if}>{lang article_inner_page_pre} {$curpage} {lang article_inner_page} $value[title]</a></li>
						<!--{/loop}-->
					</ul>
				</div>
				<!--{/if}-->

				<!--[diy=diycontentclickbottom]--><div id="diycontentclickbottom" class="area"></div><!--[/diy]-->

			</div>
			<!--{if !empty($aimgs[$content[pid]])}-->
				<script type="text/javascript" reload="1">aimgcount[{$content[pid]}] = [<!--{echo implode(',', $aimgs[$content[pid]]);}-->];attachimgshow($content[pid]);</script>
			<!--{/if}-->

			<!--{if !empty($_G['setting']['pluginhooks']['view_share_method'])}-->
				<div class="tshare cl">
					<strong>{lang viewthread_share_to}:</strong>
					<!--{hook/view_share_method}-->
				</div>
			<!--{/if}-->
            
            <!--{hook/view_article_op_extra}-->
            <div class="clear"></div>
            
            <div class="week_share">
                <div class="bdsharebuttonbox"><a class="ishare">$week_lang[77]</a>
                    <a href="#" class="bds_weixin" data-cmd="weixin" title="$week_lang[77] $week_lang[78]">$week_lang[78]</a>
                    <a href="#" class="bds_sqq" data-cmd="sqq" title="$week_lang[77] $week_lang[79]">$week_lang[79]</a>
                    <a href="#" class="bds_tsina" data-cmd="tsina" title="$week_lang[77] $week_lang[80]">$week_lang[80]</a>
                    <a href="#" class="bds_qzone" data-cmd="qzone" title="$week_lang[77] $week_lang[81]">$week_lang[81]</a>
                    <a href="#" class="bds_tqq" data-cmd="tqq" title="$week_lang[77] $week_lang[82]">$week_lang[82]</a>
                    <a href="#" class="bds_renren" data-cmd="renren" title="$week_lang[77] $week_lang[83]">$week_lang[83]</a>
                </div>
                <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{"bdSize":16}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
            </div>
			
			<div class="clear"></div>
		</div>

		<!--[diy=diycontentrelatetop]--><div id="diycontentrelatetop" class="area"></div><!--[/diy]-->

		<!--{ad/article/mbm hm/2}--><!--{ad/article/mbm hm/3}-->

		<!--[diy=diycontentrelate]--><div id="diycontentrelate" class="area"></div><!--[/diy]-->
		
		<!--{if $wk_comment}-->
			<!--{if $article['allowcomment']==1}-->
				<!--{eval $data = &$article}-->
				<!--{subtemplate portal/portal_comment}-->
			<!--{/if}-->
		<!--{/if}-->
		
		<!--[diy=diycontentcomment]--><div id="diycontentcomment" class="area"></div><!--[/diy]-->
	</div>
</div>
<div class="clear"></div>

<!--{if $_G['relatedlinks']}-->
	<script type="text/javascript">
		var relatedlink = [];
		<!--{loop $_G['relatedlinks'] $key $link}-->
		relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
		<!--{/loop}-->
		relatedlinks('article_content');
	</script>
<!--{/if}-->

<!--{if $article['preaid'] || $article['nextaid']}-->
<div class="wk_sxy">
    <!--{if $article['prearticle']}--><div class="post-prev" ><a href="{$article['prearticle']['url']}" title="{lang pre_article}{$article['prearticle']['title']}">&lt;</a></div><!--{/if}-->
    <!--{if $article['nextarticle']}--><div class="post-next" ><a href="{$article['nextarticle']['url']}" title="{lang next_article}{$article['nextarticle']['title']}">&gt;</a></div><!--{/if}-->
</div>
<!--{/if}-->

<div class="wp mtn">
	<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>
<input type="hidden" id="portalview" value="1">

<!--{template common/footer}-->